﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.LiveShopAddressDTO;

namespace TodoApp
{
    /// <summary>
    ///  收货地址 接口 
    /// </summary>
  public  interface IAddressService : Volo.Abp.Application.Services.IApplicationService 
    {
        /// <summary>
        ///  显示 
        /// </summary>
        /// <returns></returns>
        Task<List<LiveShopAddressShowDTO>> GetListAsync();

        /// <summary>
        ///  删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(int id );
        /// <summary>
        ///  添加 
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<string> InsertAsync(LiveShopAddressAddDTO model );  
    
    }
}
